package com.atguigu.guli.service.edu.service;

import com.atguigu.guli.service.edu.entity.Teacher;
import com.atguigu.guli.service.edu.entity.query.TeacherSearch;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author atguigu
 * @since 2021-07-26
 */
public interface TeacherService extends IService<Teacher> {

    Page<Teacher> selectPageByCondition(Integer pageNum, Integer pageSize, TeacherSearch teacherSearch);

    boolean deleteAvatarById(String id);

    List<Teacher> selectHotTeacher();

    boolean batchDelete(List<String> ids);
}
